import React from 'react';

interface SimpleLayoutProps {
  children: React.ReactNode;
}

const SimpleLayout: React.FC<SimpleLayoutProps> = ({ children }) => {
  return (
    <div style={{ minHeight: '100vh', padding: '20px' }}>
      <header style={{ 
        backgroundColor: '#001529', 
        color: 'white', 
        padding: '16px', 
        marginBottom: '20px',
        borderRadius: '6px'
      }}>
        <h1>智慧园区管理系统</h1>
      </header>
      <main>
        {children}
      </main>
    </div>
  );
};

export default SimpleLayout;